fix(wallet): use renamed handler for locked coins signal - #7667
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. Walkthrough
Priority: ⬇️ Low — Defer this wallet handler rename because it is a one-line compatibility fix for the locked-coins signal with no broader product-surface impact. Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The locked-coins notification now uses the renamed signal-handler factory, preserving connection cleanup behavior and restoring wallet-enabled build compatibility. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🕓 Queued for automated review — 65th in line, estimated start in ~95 h (commit 71410d5)
|
Issue being fixed or feature implemented
Merging #7648 and #7602 together broke wallet-enabled builds on
develop:wallet/interfaces.cpp:823:16: error: use of undeclared identifier 'MakeHandler'. #7648 renamed the signal-handler factory toMakeSignalHandleras part of bitcoin#26298, while #7602 introducedhandleLockedCoinsChangedusing the old name.What was done?
Update the locked-coins notification to use
MakeSignalHandler, matching the other wallet signal handlers and preserving connection cleanup. This was the only remainingMakeHandlerreference insrc.How Has This Been Tested?
On macOS arm64 with the prebuilt depends dependencies, wallet and Qt enabled:
make -C src wallet/libbitcoin_wallet_a-interfaces.o.make -j15passed, includingdashd,dash-qt, and the test binaries../src/test/test_dash --run_test=wallet_tests --report_level=short: 20 cases and 626 assertions passed.QT_QPA_PLATFORM=minimal ./src/qt/test/test_dash-qt: 90 passed, 1 skipped, 0 failed.COMMIT_RANGE=upstream/develop..HEAD python3 test/lint/lint-whitespace.pyandgit diff --checkpassed.No new test is needed for this one-line API rename repair; compiling the affected translation unit directly reproduces the regression and verifies the fix.
Breaking Changes
None.
Checklist:
This pull request was created by Codex.